package com.atguigu.gmall.pay.service;

import com.alipay.api.AlipayApiException;
import com.atguigu.gmall.pay.vo.PayParamVo;
import com.fasterxml.jackson.core.JsonProcessingException;

public interface PayService {

    String payOrder(PayParamVo vo) throws JsonProcessingException, Exception;

    Boolean queryOrderStatus(String outTradeNo) throws AlipayApiException, JsonProcessingException;

    void sendPaySuccessMessage(String out_trade_no) throws JsonProcessingException;
}
